P+ - Zero Suit Samus - Subroutine - 0x11da0

  1. if (BoolIsTrue RandomAccessBool(EnableAutoJab))
    1. IfStatementAnd ((RandomAccessInt(ThrowDataParam1) GreaterThan scalar(0)))
    2. IfStatementAnd ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual scalar(-0.5)))
    3. IfStatementAnd ((InternalConstantInt(ControlStickXAxisRelativeReverse) GreaterThanOrEqual InternalConstantInt (0xc4d)))
    4. IfStatementAnd (not(TouchingAFloorWallOrCeiling value(1)))
    5. IfStatementAnd (not(TouchingAFloorWallOrCeiling value(16)))
    6. IfStatementAnd (not(TouchingAFloorWallOrCeiling value(32)))
    7. if (TouchingAFloorWallOrCeiling value(2))
      1. IfStatementOr (TouchingAFloorWallOrCeiling value(4))
      2. if (ButtonPress value(0))
        1. ReverseDirection
        2. Posture(4)
        3. CreateInterrupt { interrupt_id: None, action: 0x11a, requirement: (ButtonTap) }
        4. IntVariableDecrement { variable: RandomAccessInt(ThrowDataParam1) }
  2. if (BoolIsTrue RandomAccessBool (0x18))
    1. if (ButtonPress value(1))
      1. BoolVariableSetTrue { variable: RandomAccessBool(EnableJabEnd) }
    2. else
      1. if (ButtonPress value(0))
        1. BoolVariableSetTrue { variable: RandomAccessBool(EnableJabEnd) }
    3. if (ButtonPress value(2))
      1. BoolVariableSetTrue { variable: RandomAccessBool (0x1a) }
    4. IfStatementAnd ((InternalConstantInt (0x520a) LessThan InternalConstantInt (0x59fb)))
    5. BoolVariableSetTrue { variable: RandomAccessBool (0x1a) }